package org.huamoxi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/*
* ArticleService - 服务名
* article - 类上的 @RequestMapping 指定值
* */
@FeignClient(name = "ArticleService", path = "article")
public interface ArticleFeign {
    @GetMapping("/test1")
    public String test1(@RequestParam("msg") String msg);
}
